package com.iOS.util;
/**
*@Author:WenTao
*@Description:路径处理
*@Date:14:22 2018/9/20
*/
public class PathUtil {
    /*获取基础路径：当前项目目录*/
    public static String basePath = System.getProperty("user.dir");

    /*基础路径*/
    public static String getImgBasePath(){
        return basePath;
    }

    /*用户头像存储路径*/
    public static String getHeadImgPath() {
        String HeadImgPath = basePath + "\\userHeadImg\\";
        return HeadImgPath;
    }

    /*博客图片存储路径*/
    public static String getBlogImgPath() {
        String BlogImgPath = basePath + "\\blogImg\\";
        return BlogImgPath;
    }

    /*文件存储路径*/
    public static String getFilePath() {
        String FilePath = basePath + "\\uploadfile\\";
        return FilePath;
    }

    /*笔记图片存储路径*/
    public static String getNoteImgPath() {
        String NoteImgPath = basePath + "\\noteImg\\";
        return NoteImgPath;
    }

    /*推送图片存储路径*/
    public static String getPushImgPath() {
        String PushImgPath = basePath + "\\pushImg\\";
        return PushImgPath;
    }

    /*动态图片存储路径*/
    public static String getMessageImgPath() {
        String MessageImgPath = basePath + "\\messageImg\\";
        return MessageImgPath;
    }

    public static void main(String[] args) {
        System.out.println(getImgBasePath());
        System.out.println(getHeadImgPath());
    }
}
